package com.bike.entity;

import com.bike.util.TimeManager;

public class HhBusinessRecord {
	 private Long businessRecordId; 
	 private Integer type; 
	 private Integer status; 
	 private Integer addTime; 
	 private Long toId; 
	 private String toName; 
	 private String amount; 
	 private String channel; 
	 private Long fromId; 
	 private String fromName; 
	 private Long businessId; 
	 private Long withdrawId; 
	 private String businessName;
	 private String addTimeText;
	 
	 private String note; 
	 
	 public Long getWithdrawId() {
		return withdrawId;
	}
	public void setWithdrawId(Long withdrawId) {
		this.withdrawId = withdrawId;
	}
	public String getAddTimeText() {
		 if(addTime!=null){
			 return TimeManager.TimenintyToString(addTime*1000L);
		 }
		return addTimeText;
	}
	public void setAddTimeText(String addTimeText) {
		this.addTimeText = addTimeText;
	}
	public Long getBusinessId() {
		return businessId;
	}
	public void setBusinessId(Long businessId) {
		this.businessId = businessId;
	}
	public String getBusinessName() {
		return businessName;
	}
	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}
	public Long getBusinessRecordId() {
        return businessRecordId;
    }
     public void setBusinessRecordId(Long businessRecordId) {
        this.businessRecordId = businessRecordId;
    }
    public Integer getType() {
        return type;
    }
     public void setType(Integer type) {
        this.type = type;
    }
    public Integer getStatus() {
        return status;
    }
     public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getAddTime() {
        return addTime;
    }
     public void setAddTime(Integer addTime) {
        this.addTime = addTime;
    }
    public Long getToId() {
        return toId;
    }
     public void setToId(Long toId) {
        this.toId = toId;
    }
    public String getToName() {
        return toName;
    }
     public void setToName(String toName) {
        this.toName = toName;
    }
    public String getAmount() {
        return amount;
    }
     public void setAmount(String amount) {
        this.amount = amount;
    }
    public String getChannel() {
        return channel;
    }
     public void setChannel(String channel) {
        this.channel = channel;
    }
    public Long getFromId() {
        return fromId;
    }
     public void setFromId(Long fromId) {
        this.fromId = fromId;
    }
    public String getFromName() {
        return fromName;
    }
     public void setFromName(String fromName) {
        this.fromName = fromName;
    }
    public String getNote() {
        return note;
    }
     public void setNote(String note) {
        this.note = note;
    }
}